TryGet<T>(IPdfArray,Int32,T,Boolean,Boolean) Method
In This Topic
Tries to get the value at the specified index. Returns true if value exists and can be converted to a , resolves a PDF reference if needed. Note! The method does not resolve reference if is IPdfRef, otherwise the method resolves the reference and returns *actual* object.
Syntax
'Declaration
Public Overloads Shared Function TryGet(Of As IPdfObject)( _
ByVal As IPdfArray, _
ByVal As System.Integer, _
ByRef As , _
ByRef As System.Boolean, _
ByVal As System.Boolean _
) As System.Boolean
public static System.bool TryGet<>(
IPdfArray ,
System.int ,
out ,
out System.bool ,
System.bool
)
where T: IPdfObject
Parameters
- array
- The current array.
- index
- The index of the value to get.
- value
- OUT: The value.
- isNull
- OUT: Indicates whether the value is PDF null.
- addWarning
- Indicates whether to add a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if errors occur.
Type Parameters
- T
Return Value
Returns true if no errors occur.
See Also